package com.erqi.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author king
 * @Date 2020/6/12 9:08
 * @Version 1.0
 */

@Data
@ConfigurationProperties(prefix = "plcresources")
@Component
@ToString
public class PLCResources {

    private String ip1; //ip
    private String ip2; //ip
    private String ip3; //ip
    private String ip4; //ip
    private boolean one;
    private boolean two;
    private boolean three;
    private boolean four;
    private int Rack;  //架机号
    private int Slot; //插槽号
    private int areaNumber; //   db地址
    private int bytes; //开始位置
    private int offset; //最大读取字节数 （长度）



}
